package com.yelobblog.yelobblog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yelobblog.yelobblog.domain.entity.category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface categoryMapper extends BaseMapper<category> {
    @Select("SELECT * FROM category WHERE id = #{id}")
    category selectById(Integer id);
}
